<include file="public@header">
<body>
    <php>
        $level_text = ['0'=>'Low','1'=>'Low','2'=>'Low','3'=>'Medium','4'=>'High'];
        $level_color = ['0'=>'red','1'=>'red','2'=>'red','3'=>'yellow','4'=>'green'];
        $level_bgcolor = ['0'=>'redbg','1'=>'redbg','2'=>'redbg','3'=>'yellowbg','4'=>'greenbg'];
    </php>
    <div class="bgbg headhead">
        <h3 class="mytitle">{:lang('Security Center')}</h3>
        <div class="zz_div1">
        <div class="aq-lv {$level_color[$level]}">
            <p class="aq-lvp"><span>{:lang('Security Level')}</span>{:lang($level_text[$level])}</p>
            <div class="lv-jdt">
                <div class="lv-jdt1 {$level_bgcolor[$level]}"></div>
            </div>
            <p class="aq-lvnote">{:lang('Please complete the following safety certification')}</p>
        </div>
        <div class="aqlist">
            <a class="aqlistshow" href="{:url('user/profile/mobile')}">
                <span class="aqlistspansz <if !$user.mobile>aqlistspanwsz</if>"></span>
                <span class="aqlistspantitle">{:lang('Mobile')}</span>
                <span class="aqlistspanzt"><if $user.mobile>{:lang('Has been set')}<else/>{:lang('Not set')}</if></span>
                <img src="__STATIC__/hybit/images/right.png" alt="" class="lineright">
            </a>
            <a class="aqlistshow" href="{:url('user/profile/email')}">
                <span class="aqlistspansz <if !$user.user_email>aqlistspanwsz</if>"></span>
                <span class="aqlistspantitle">{:lang('Email')}</span>
                <span class="aqlistspanzt"><if $user.user_email>{:lang('Has been set')}<else/>{:lang('Not set')}</if></span>
                <img src="__STATIC__/hybit/images/right.png" alt="" class="lineright">
            </a>
        </div>
        <div class="aqlist">
            <a class="aqlistshow" href="{:url('user/profile/password')}">
                <span class="aqlistspansz <if !$user.user_pass>aqlistspanwsz</if>"></span>
                <span class="aqlistspantitle">{:lang('Login password')}</span>
                <span class="aqlistspanzt"><if $user.user_pass>{:lang('Has been set')}<else/>{:lang('Not set')}</if></span>
                <img src="__STATIC__/hybit/images/right.png" alt="" class="lineright">
            </a>
            <a class="aqlistshow" href="{:url('user/profile/capital_password')}">
                <span class="aqlistspansz <if !$user.capital_password>aqlistspanwsz</if>"></span>
                <span class="aqlistspantitle">{:lang('Fund password')}</span>
                <span class="aqlistspanzt"><if $user.capital_password>{:lang('Has been set')}<else/>{:lang('Not set')}</if></span>
                <img src="__STATIC__/hybit/images/right.png" alt="" class="lineright">
            </a>
        </div>
    </div>
    </div>
</body>
</html>